﻿// ע�
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;


namespace IotContract.Models.Mqtt;
[ProtoContract]
public class MqttProviderCommand
{
    //根据业务场景增加类型筛选
    [ProtoMember(1)]
    public string TagProperty { get; set; } = null;

    [ProtoMember(2)]
    public bool Start { get; set; }
    [ProtoMember(3)]
    public string ProtobufType { get; set; }

    /// <summary>
    /// 设备编号，为0表示所有设备，即对MqttServer操作
    /// </summary>
    [ProtoMember(4)]
    public long EquipId  { get; set; } = 0;
    [ProtoMember(5)]
    public string EquipType { get; set; }
    [ProtoMember(6)]
    public int Interval { get; set; }
}
